package com.weishi.project.sport.home.service;


import com.weishi.framework.web.domain.AjaxResult;
import com.weishi.project.api.vo.LoginVo;
import com.weishi.project.training.domain.Sportsman;

import javax.servlet.http.HttpServletRequest;

/**
 * 运动员登录端
 */
public interface SportLoginService {


    /**
     * 运动员端登录
     */
    AjaxResult sportLogin(LoginVo login);


    /**
     * 运动员端退出登录
     */
    AjaxResult sportLogout(HttpServletRequest request);


    /**
     * 运动员端 注册
     */
    AjaxResult register(Sportsman sportsman);






}
